package com.fsl.springbootdesignpattern.b_factory.abstract_factory;

import com.fsl.springbootdesignpattern.b_factory.factory_method.AudiFactory;
import com.fsl.springbootdesignpattern.b_factory.simple_factory.Car;

public class DefaultFactory extends AbstractFactory {

    private AudiFactory audiFactory = new AudiFactory();

    @Override
    protected Car getCar() {
        return audiFactory.getCar();
    }
}
